package com.mdc.mansion.core.common.translate;

/**<p>com.mdc.mansion.core.common.translate.TranslateService</p>
 * <p>Title: TranslateService</p>
 * <p>Description: TODO</p>
 * <p>Copyright: Copyright © 2010-2014</p>
 * <p>Company: jumei</p>
 * @author xiang.liu
 * @version 1.0
 */
public interface TranslateService {
    
    String translate(String text, final TranslateLanguage srcLanguage, TranslateLanguage targetLanguage);
    
    String translate(String text,TranslateLanguage targetLanguage);
}
